package hcn.cmc.bean.response;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * @Author:FangZhiyi
 * @Description
 * @Data Created in 2020/11/14 15:52
 * @Moddified By:
 */
@XmlRootElement(name = "Data")
public class SyncTemplateXMLResp implements Serializable {
    /*病例模板*/
    private List<Template> RequestLists;

    @XmlElementWrapper(name = "RequestLists")
    @XmlElement(name = "RequestList")
    public List<Template> getRequestLists() {
        return RequestLists;
    }

    public void setRequestLists(List<Template> requestLists) {
        RequestLists = requestLists;
    }

    public static class Template {
        private String VisitOrganization;
        private String VisitOrganizationName;
        private String MedicalClassId;
        private String MedicalClassName;
        private List<TemplateClass> TemplateClassLists;

        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }

        @XmlElement(name = "VisitOrganizationName")
        public String getVisitOrganizationName() {
            return VisitOrganizationName;
        }

        public void setVisitOrganizationName(String visitOrganizationName) {
            VisitOrganizationName = visitOrganizationName;
        }

        @XmlElement(name = "MedicalClassId")
        public String getMedicalClassId() {
            return MedicalClassId;
        }

        public void setMedicalClassId(String medicalClassId) {
            MedicalClassId = medicalClassId;
        }

        @XmlElement(name = "MedicalClassName")
        public String getMedicalClassName() {
            return MedicalClassName;
        }

        public void setMedicalClassName(String medicalClassName) {
            MedicalClassName = medicalClassName;
        }

        @XmlElementWrapper(name = "TemplateClassLists")
        @XmlElement(name = "TemplateClassList")
        public List<TemplateClass> getTemplateClassLists() {
            return TemplateClassLists;
        }

        public void setTemplateClassLists(List<TemplateClass> templateClassLists) {
            TemplateClassLists = templateClassLists;
        }

        @XmlAccessorType(XmlAccessType.FIELD)
        public static class TemplateClass {
            private String TemplateClassId;
            private String TemplateClassName;

            public String getTemplateClassId() {
                return TemplateClassId;
            }

            public void setTemplateClassId(String templateClassId) {
                TemplateClassId = templateClassId;
            }

            public String getTemplateClassName() {
                return TemplateClassName;
            }

            public void setTemplateClassName(String templateClassName) {
                TemplateClassName = templateClassName;
            }
        }

    }
}
